package com.front.managementfront.driver.service;

        import com.baomidou.mybatisplus.core.metadata.IPage;
        import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
        import com.baomidou.mybatisplus.extension.service.IService;
        import com.front.managementfront.driver.entity.CarInfo;
        import com.front.managementfront.driver.vo.CarInfoListVo;

        import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yck
 * @since 2021-11-19
 */
public interface ICarInfoService extends IService<CarInfo> {

    /**
     * 分页查询
     *
     * @param bootStrapTable
     * @param carInfo
     * @return
     */
    IPage<CarInfo> selectPage(Page<CarInfo> page, CarInfo carInfo);

    List<CarInfo> selectList(CarInfo carInfo);

    CarInfoListVo getCarInfoByUserId(String userId);

    List<CarInfo> getCarInfoByUserIdAndStatus(String userId, Integer approvalStatus);

    List<CarInfo> getCarInfoListByUserId(String userId);
}